package part17;

import java.util.*;

/**
 * @author wcj
 * @Date 2021/6/1 18:08
 * @Version 1.0
 */
public class Part177 {
    private static boolean b;
    private static String s;
    private static int i;
    private static Iterator<String> it;
    private static ListIterator<String> lit;

    /**
     * List的功能方法，直接看库函数，这里未做演示
     *
     * @param a
     */
    public static void basicTest(List<String> a) {
        a.add(1, "x");
        a.add("x");
        a.addAll(new ArrayList<>(Arrays.asList("y", "z")));
    }
}
